<%@page import="java.util.List"%>
<%@page import="com.home.timesheet.entity.TimesheetVOImpl"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@	taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>费用填写</title>
</head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		$('#sub').click(function(){
			alert();
			$('#form').submit();
		});
	});
</script>
<link rel="stylesheet" href="<%=request.getContextPath() %>/kernel/css/login/login.css">
<body>

	<div>
		<table id="choose" border="1" cellpadding="0" cellspacing="0">
			<tr>
				<td><select>
						<option></option>
						<option></option>
						<option></option>
				</select></td>
				<td></td>
				<td></td>
			</tr>
		</table>
	</div>

	<div id="">
		<div>
			<table id="buttons" border="1" cellpadding="0" cellspacing="0">
				<tr>
					<td>从</td>
					<td><input /></td>
					<td>到</td>
					<td><input /></td>
					<td>
						<select name="useBy">
							<option value="-1">请选择使用者</option>
							<option value="0">T</option>
							<option value="1">A</option>
							<option value="2">B</option>
						</select>
					</td>
					<td>
						<select name="type">
							<option value="-1">请选择类型</option>
							<option value="0">买A</option>
							<option value="1">买B</option>
							<option value="2">买C</option>
						</select>
					</td>
					<td>
						<input type="button" value="查询"/>
					</td>
				</tr>
			</table>
		</div>
		<form id="form" action="timesheet_save" method="post">
			<table id="timesheet" border="1" cellpadding="0" cellspacing="0">
				<tr>
					<td>日期</td>
					<td>使用人</td>
					<td>费用类型</td>
					<td>实际费用</td>
					<td>描述1</td>
				</tr>
				<s:iterator value="#request.tslist" status="ts" id="task">
					<tr>
					<td>${dateTime }</td>
					<td>${useBy }</td>
					<td>${type }</td>
					<td>${actCast }</td>
					<td>${reason }</td>
					</tr>
				</s:iterator>
			</table>
		</form>
	</div>
</body>
</html>